<?php namespace module\base;
class Process{
    public function handler($kid){
        $content = Db::table('reply_base')->where('kid',$kid)->pluck('content');
        $reply = json_decode($content,true);
        $k = array_rand($reply);
        Wx::instance( 'message' )->text($reply[ $k ]['content'] );
    }
}